]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Start always at scroll 0 on FolderView
authorCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 19 Aug 2013 15:01:45 +0000 (17:01 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 2 Sep 2013 18:02:36 +0000 (20:02 +0200)
Reset the scroll adjustment between popups opennings,
following the same design we want to the AllView

https://bugzilla.gnome.org/show_bug.cgi?id=706081

js/ui/appDisplay.js

index 4ded09cfc45e640fb13b927c520c72bbd26f6beb..bd2e15de4146546c95d7b2fa12f3923d32398bac 100644 (file)
@@ -960,6 +960,7 @@ const FolderIcon = new Lang.Class({
             function() {
                 this._ensurePopup();
                 this._popup.toggle();
+                this.view.actor.vscroll.adjustment.value = 0;
             }));
         this.actor.connect('notify::mapped', Lang.bind(this,
             function() {